import { createRouter, createWebHistory } from 'vue-router'

import LayoutIndex from '@/layout/index.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: LayoutIndex
    },
    {
      path:'/link',
      name:'linkBlock',
      component:()=>import("@/views/linkBlock.vue")
    }
  ]
})

export default router
